Get Player Balance
1. Request URL
URL: {APIURL}/api/v1/player/balance
2. Request Parameters:
| Parameter Name | Type | Description |
|---|---|---|
| UserID | string[4-40] | Operator’s unique player identifier |
- Example:
复制复制{ "UserID": "testuser1", "AppID": "fake", "AppSecret": "1234-abcd-xxxkkk" }
3. Return Result:
| Parameter Name | Type | Description |
|---|---|---|
| Balance | float | Player’s current available balance |
| Unsettled | float | Unsettled balance after betting deprecated |
| UnsettledDetails | map | Unsettled balance details after betting deprecated |
- The player has a total balance of 143.45, with 20 unsettled bets on pg_98 and 80 unsettled bets on pg_65.
UnsettledandUnsettledDetailsare deprecated, please use APIURL/api/v1/player/pendinggames to implement related logic.- Example:
复制复制{ "code": 0, "error": "", "data": { "Balance": 43.45, "Unsettled": 100, "UnsettledDetails": { "pg_98": 20, "pg_65": 80 } } }
Get Player Balance
1. Request URL
URL: {APIURL}/api/v1/player/balance
2. Request Parameters:
| Parameter Name | Type | Description |
|---|---|---|
| UserID | string[4-40] | Operator’s unique player identifier |
- Example:
复制{ "UserID": "testuser1", "AppID": "fake", "AppSecret": "1234-abcd-xxxkkk" }
3. Return Result:
| Parameter Name | Type | Description |
|---|---|---|
| Balance | float | Player’s current available balance |
| Unsettled | float | Unsettled balance after betting deprecated |
| UnsettledDetails | map | Unsettled balance details after betting deprecated |
- The player has a total balance of 143.45, with 20 unsettled bets on pg_98 and 80 unsettled bets on pg_65.
UnsettledandUnsettledDetailsare deprecated, please use APIURL/api/v1/player/pendinggames to implement related logic.- Example:
复制{ "code": 0, "error": "", "data": { "Balance": 43.45, "Unsettled": 100, "UnsettledDetails": { "pg_98": 20, "pg_65": 80 } } }